package com.zzjc.web.mapper;

import com.zzjc.web.entity.SwimmingPool;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SwimmingPoolDao {

    List<SwimmingPool> getPoolById(@Param("poolList") List<Integer> poolList);


    SwimmingPool getPoolByName(@Param("poolName") String poolName);


    int insertPool(SwimmingPool pool);


    int updatePool(SwimmingPool pool);


    int deletePool(@Param("poolList") List<Integer> poolList);

    List<SwimmingPool> findAll(SwimmingPool pool);
} 